package com.imau.service.impl;

import com.imau.bean.User;
import com.imau.dao.UserMapper;
import com.imau.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;

    public User findById(Integer id) {

            return userMapper.selectById(id);

    }


}
